
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>登入</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="keywords" content="前端社区">
  <meta name="description" content="技术交流社区网站">
  <link rel="stylesheet" href="/static/web/res/layui/css/layui.css">
  <link rel="stylesheet" href="/static/web/res/css/global.css">
</head>
<body>

@extends('Web.common.header')

<div class="layui-container fly-marginTop">
  <div class="fly-panel fly-panel-user" pad20>
    <div class="layui-tab layui-tab-brief" lay-filter="user">
      <ul class="layui-tab-title">
        <li class="layui-this">登入</li>
        <li><a href="reg">注册</a></li>
      </ul>
      <div class="layui-form layui-tab-content" style="padding: 20px 0;">
        <div class="layui-tab-item layui-show">
          <div class="layui-form layui-form-pane">
            <form data-url="/logined" data-back="/userHome">
              {{csrf_field()}}
              <div class="layui-form-item">
                <label for="L_email" class="layui-form-label">账户名</label>
                <div class="layui-input-inline">
                  <input type="text" name="name" lay-verify="required" autocomplete="off" class="layui-input">
                </div>
              </div>
              <div class="layui-form-item">
                <label for="L_pass" class="layui-form-label">密码</label>
                <div class="layui-input-inline">
                  <input type="password" name="password" lay-verify="required" autocomplete="new-password" class="layui-input">
                </div>
              </div>

              <div class="layui-form-item">
                <button class="layui-btn layui-btn-sm" lay-submit lay-filter="submitIng">立即登录</button>
                <span style="padding-left:20px;">
                  <a href="/forget">忘记密码？</a>
                </span>
              </div>
              {{--<div class="layui-form-item fly-form-app">
                <span>或者使用社交账号登入</span>
                <a href="" onclick="layer.msg('正在通过QQ登入', {icon:16, shade: 0.1, time:0})" class="iconfont icon-qq" title="QQ登入"></a>
                <a href="" onclick="layer.msg('正在通过微博登入', {icon:16, shade: 0.1, time:0})" class="iconfont icon-weibo" title="微博登入"></a>
              </div>--}}
            </form>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>

@extends('Web.common.footer')

@section('script')
  @include('Web.common.common_js')
  <script>
    layui.use(['layer', 'jquery', 'form'], function () {
      $ = layui.jquery;

    });
  </script>
@endsection
</body>
</html>